<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('Nav/index')}">导航菜单管理</a></li>
			<li class="active"><a href="{:url('Nav/edit')}">编辑导航菜单</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('Nav/editPost')}">
			<div class="form-group">
				<label for="input-title" class="col-sm-2 control-label">导航菜单<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-title" name="title" value="{$nav.title}">
				</div>
			</div>


			<div class="form-group">
				<label for="input-url" class="col-sm-2 control-label">跳转链接<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-url" name="url" value="{$nav.url}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-pid" class="col-sm-2 control-label">父级ID<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-pid" name="pid" value="{$nav.pid}">
				</div>
			</div>

			<input type="hidden" name="id" value="{$nav.id}">

			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
					<a class="btn btn-default" href="javascript:history.back(-1);">返回</a>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js?v={$_static_version}"></script>

</body>
</html>
